8ba0ae6922db8906b3c762194104937a5bb653b1,framework/start/src/org/ofbiz/base/start/Config.java,Config,getInstance,#String[]#,56

Before Change


    public static Config getInstance(String[] args) throws IOException {
        String firstArg = args.length > 0 ? args[0] : "";
        // Needed when portoffset is used with these commands
        if ("start-batch".equals(firstArg) || "stop".equals(firstArg)) {
            firstArg = "start";
        }
        String configFileName = getConfigFileName(firstArg);

After Change


        String firstArg = args.length > 0 ? args[0] : "";
        // Needed when portoffset is used with these commands, start.properties fits for all of them
        if ("start-batch".equalsIgnoreCase(firstArg) 
                || "start-debug".equalsIgnoreCase(firstArg) 
                || "stop".equalsIgnoreCase(firstArg) 
                || "shutdown".equalsIgnoreCase(firstArg) // shutdown & status hack (was pre-existing to portoffset introduction, also useful with it) 
                || "status".equalsIgnoreCase(firstArg)) {
            firstArg = "start";